package proxy;

public class StockServiceImpl implements StockService {
    @Override
    public void accessStock() {
        System.out.println("访问库存中...");
        try {
            // 模拟访问库存耗时
            Thread.sleep(500);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
